<div class="row-fluid">

    <div class="span12">

        <div class="box gradient">

            <div class="title">
                <h4>
                    <span>Danh sách Nhân viên</span>
                </h4>
            </div>
            <div class="content noPad clearfix">
                <table cellpadding="0" cellspacing="0" border="0" class="responsive dynamicTable display table table-bordered" width="100%">
                    <thead>
                        <tr>
                            <th>Mã hồ sơ</th>
                            <th>Họ và tên</th>
                            <th>Email</th>
                            <th>Chức danh</th>
                            <th>Đơn vị</th>
                            <th>Địa chỉ</th>
                            <th>Thao tác</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach ($staffs as $staff) :?>
                            <tr class="odd gradeX">
                                <td><?php echo $staff->reference ?></td>
                                <td><?php echo $staff->name ?></td>
                                <td><?php echo $staff->email ?></td>
                                <td><?php echo $staff->Profile->job_specialization ?></td>
                                <td><?php echo $staff->Profile->GovOrganization->name ?></td>
                                <td><?php echo $staff->address ?></td>
                                <td class="center"><a href="<?php echo url_for('@staff_edit?id='.$staff->id)?>"><span class="icon16 brocco-icon-pencil"></span>Sửa</a>&nbsp;<a href="<?php echo url_for('@staff_remove?id='.$staff->id)?>"><span class="icon16 brocco-icon-cancel"></span>Xoá</a></td>
                            </tr>
                        <?php endforeach ?>
                    </tbody>
                </table>
            </div>

        </div><!-- End .box -->

    </div><!-- End .span12 -->

</div><!-- End .row-fluid -->

